home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE02 / XTOOLS / XTOOL.ZIP / DBSTATUS.TXT < prev    next >
Encoding:
Text File  |  1995-05-16  |  1.5 KB  |  49 lines

  1. DbStatus is a small data-aware control which have the task to visual
  2. inform the user in which state a datasource currently is. It does it
  3. with a small bitmap in a panel, which changed whenever the linked
  4. datasource changed his state. It can also linked to a TDbNavigator
  5. and control the visible buttons of the navigator depended of the
  6. datasource-state.
  7.  
  8. For registration info look in the file xTool.Txt.
  9.  
  10. TDbStatus
  11. =========
  12.  
  13. propertys
  14. ---------
  15.    DataSource : TDataSource
  16.  
  17.      Here you set the datasource which you want to connect to.
  18.      After setting the datasource informs the TDbStatus control
  19.      of each state change, so the control can act.
  20.  
  21.      It currently displays the following bitmaps :
  22.  
  23.      dsSetKey  - a zoom glass
  24.      dsBrowse  - a book
  25.      dsEdit    - pencil on a filled paper
  26.      dsInsert  - pencil on a empty paper
  27.  
  28.    Navigator  : TDbNavigator
  29.  
  30.      Here you can set a Navigator which visual apperance you
  31.      also want to control on state changed. For example I
  32.      not need to see the disabled Post and Cancel Buttons
  33.      in the Browse state. Here are the buttons which
  34.      you can see in each state :
  35.  
  36.      dsSetKey   - first,next,prior,last
  37.      dsBrowse   - first,next,prior,last,edit,delete,insert
  38.      dsEdit,
  39.      dsInsert   - post,cancel
  40.  
  41.      Setting of this property isn't neccessary.
  42.  
  43. Tips & Tricks
  44. -------------
  45.  
  46. Please send me your own glyphs for the status. If I have enough
  47. together I plan to enhance this component to support various
  48. bitmaps.
  49.